package com.zxjbyte.yiyi.framework.common.enums;

import com.zxjbyte.yiyi.framework.common.core.ObjectArrayFactory;
import lombok.Getter;

/**
 * 排序方式
 * @Author zhangxingjia
 * @Date 2023/3/15 17:02
 * @Version: 1.0
 */
@Getter
public enum SortOrder implements ObjectArrayFactory {
    // 正序/升序
    ASC,

    // 倒序/降序
    DESC
    ;

    @Override
    public Object[] array() {
        return new String[]{"ASC", "DESC"};
    }
}
